<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>乐淘首页</title>
  <link rel="icon" href="./favicon.ico">
  <link rel="stylesheet" href="./lib/mui/css/mui.css">
  <link rel="stylesheet" href="./lib/fa/css/font-awesome.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>
<body>
   <div class="lt_container">
     <div class="lt_header">
        <a class="icon_left" href="index.html"><span class="fa fa-home"></span></a>
        <h4>乐淘云购</h4>
        <a class="icon_right" href="search.html"><span class="fa fa-search"></span></a>
     </div>
     <div class="lt_main">
       <div class="left_first">
          <div class="mui-scroll-wrapper">
              <div class="mui-scroll">
                <ul class="mui-clearfix">
                <!-- 等待渲染 -->
              </ul>
              </div>
            </div>
       </div>
       <div class="right_second">
          <div class="mui-scroll-wrapper">
              <div class="mui-scroll">
                <ul>
                  <!-- 等待渲染 -->
                  <!-- <li><a href="#"><img src="./images/brand3.png" alt=""></a><p>品牌</p></li>
                  <li><a href="#"><img src="./images/brand3.png" alt=""></a><p>品牌</p></li>
                  <li><a href="#"><img src="./images/brand3.png" alt=""></a><p>品牌</p></li>
                  <li><a href="#"><img src="./images/brand3.png" alt=""></a><p>品牌</p></li>
                  <li><a href="#"><img src="./images/brand3.png" alt=""></a><p>品牌</p></li> -->
                </ul>
              </div>
            </div>
       </div>
     </div>
     <div class="lt_footer">
        <ul>
          <li><a href="index.html"><span class="fa fa-home"></span><p>首页</p></a></li>
          <li class="now"><a href="category.html"><span class="fa fa-bars"></span><p>分类</p></a></li>
          <li><a href="cart.html"><span class="fa fa-shopping-cart"></span><p>购物车</p></a></li>
          <li><a href="user.html"><span class="fa fa-user"></span><p>个人中心</p></a></li>
        </ul>
     </div>
   </div>

   <script type="text/template" id="tmp">
    {{each rows v i}}
         <li class="{{i===0?'now':''}}" data-id="{{v.id}}"><a href="javascript:;">{{v.categoryName}}</a></li>
    {{/each}}
   </script>
   

   <script type="text/template" id="tmp2">
    {{if rows.length===0}}
    <p>抱歉,该分类下没有对应的商品信息</p>
    {{/if}}
      {{each rows v i}}
        <li>
          <a href="#">
              <img src="{{v.brandLogo}}" alt="">
              <p>{{v.brandName}}</p>
          </a>
        </li>
      
      {{/each}}
   </script>

   
   <script src="./lib/zepto/zepto.min.js"></script>
   <script src="./lib/mui/js/mui.js"></script>
   <script src="./lib/artTemplate/template-web.js"></script>
   <script src="./js/common.js"></script>
   <script src="./js/category.js"></script>
</body>
</html>